<template>
  <div class="main">
      <h1 @click="goToLogin">{{text}}</h1>
  </div>
</template>

<script>
import $ui from '@lib/ui'
export default {
    data () {
        return {
            text: '首页'
        };
    },

    methods: {
        goToLogin() {
            $ui.openWin('account/login');
        }
    }
};

</script>
<style lang='stylus'>
.main
    width 100vw
    height 100vh
    background #000
    color #fff
    display flex
    justify-content center
    align-items center
    h1
        color #fff
        font-size 30px
</style>